var express = require('express');
var router = express.Router();
var sql = require('../sql.js');
/* GET users listing. */
router.get('/', function(req, res, next) {
  /*res.send('1');*/
 sql("select * from login",function(err,vals,fields){  
    //do something  
   res.send(vals)
});  
});

module.exports = router;
